#include<iostream>

using namespace std;
int main()
{
    cout << "short 类型所占内存空间为：" << sizeof(short) << endl;        //2
    cout << "int  类型所占内存空间为：" << sizeof(int) << endl;           //4
    cout << "float 类型所占内存空间为：" << sizeof(float) << endl;        //4
    cout << "double 类型所占内存空间为：" << sizeof(double) << endl;      //8
    cout << "long long 类型所占内存空间为：" << sizeof(long long) << endl;//8
}